/**
 * @file vue入口文件
 *
 * @author fanxingguang
 */

import Vue from 'vue';
import Index from './index.vue';
import ElementUI from 'element-ui';
import VueRouter from 'vue-router';
import routes from './routes';
import 'element-ui/lib/theme-default/index.css';
import $ from 'jquery';

window.$ = $;

Vue.use(VueRouter);
Vue.use(ElementUI);

Vue.config.devtools = true;
const router = new VueRouter({routes});
new Vue({
    router,
    render(h) {
        return h(Index);
    }
}).$mount('#app');
